package com.ihelp.rest.mis.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;


@Entity
@SuppressWarnings("deprecation")
@Table(name = "ABNORMALTIME")
@org.hibernate.annotations.Entity(selectBeforeUpdate = true, dynamicInsert = true, dynamicUpdate = true)
public class Abnormaltime implements Serializable{

	private static final long serialVersionUID = 1L;
	@Id
    @Column(name = "ID", length = 64)
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "guid")
	private String id;
	
	@Column(name = "TYPE", columnDefinition="int(3) default 1")
	private Integer type;
	
	@Column(name = "USERCODE", length = 30)
	private String usercode;
	
	@Column(name = "BEGINTIME", length = 8)
	private String begintime;
	
	@Column(name = "ENDTIME", length = 8)
	private String endtime;
	
	@Column(name = "ADDTIME", length = 19)
	private String addtime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getUsercode() {
		return usercode;
	}

	public void setUsercode(String usercode) {
		this.usercode = usercode;
	}

	public String getBegintime() {
		return begintime;
	}

	public void setBegintime(String begintime) {
		this.begintime = begintime;
	}

	public String getEndtime() {
		return endtime;
	}

	public void setEndtime(String endtime) {
		this.endtime = endtime;
	}

	public String getAddtime() {
		return addtime;
	}

	public void setAddtime(String addtime) {
		this.addtime = addtime;
	}
	
	
}
